From: Jes Sorensen <Jes.Sorensen [at] redhat.com>
gcc 4.6.1 doesn't like calculating a variable that then isn't
used. Remove it.
Signed-off-by: Jes Sorensen <Jes.Sorensen [at] redhat.com>
---
super-intel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/super-intel.c b/super-intel.c
index ce067a2..33f23c9 100644
--- a/super-intel.c
+++ b/super-intel.c
[at] [at] -989,7 +989,6 [at] [at] static unsigned long long min_acceptable_spare_size_imsm(struct supertype *st)
struct extent *e;
int i;
unsigned long long rv = 0;
- __u32 reservation;
if (!super)
return rv;
[at] [at] -1007,7 +1006,6 [at] [at] static unsigned long long min_acceptable_spare_size_imsm(struct supertype *st)
continue;
if (i > 0)
rv = e[i-1].start + e[i-1].size;
- reservation = __le32_to_cpu(dl->disk.total_blocks) - e[i].start;
free(e);
/* add the amount of space needed for metadata */
--
1.7.6.4
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
